/* 类型声明 */
import { IGridList } from './index.type'
/* 图片引入 */
import dateImg from '@/assets/date.png'
import fengjing from '@/assets/fengjing.png'
import wyy from '@/assets/wyy.png'
import qinghua from '@/assets/qinghua.png'
import xiaohua from '@/assets/xiaohua.png'
import xingzuo from '@/assets/xingzuo.png'
import weibo from '@/assets/weibo.png'
import tt from '@/assets/tt.png'
import zhihu from '@/assets/zhihu.png'
import bzhan from '@/assets/bzhan.png'
import baidu from '@/assets/baidu.png'
import dy from '@/assets/dy.png'
import erweima from '@/assets/erweima.png'
// import erweimajiexi from '../../assets/erweimajx.png'
import phone from '../../assets/phone.png'
import fangke from '@/assets/fk.png'
import tianqi from '@/assets/tianqi.png'


// 娱乐工具箱
const enterMent: IGridList[] = [
  {
    id: 1,
    name: '摸鱼日历',
    img: dateImg,
    url:'/index/picture?title=摸鱼日历'
  },
  {
    id: 2,
    name: '风景图片',
    img: fengjing,
    url: '/index/picture?title=风景图片'
  },
  {
    id: 3,
    name: '网易云音乐',
    img: wyy,
    url: '/index/music'
  },
  {
    id: 4,
    name: '随机情话',
    img: qinghua,
    type:'dialog',
    url: 'getLoveText'
  },
  {
    id: 5,
    name: '随机笑话',
    img: xiaohua,
    type: 'dialog',
    url: 'getJokeText',
  },
]
// 实时工具箱
const realTimeMent: IGridList[] = [
  {
    id: 1,
    name: '星座运势',
    img: xingzuo,
    url: '/index/fortune'
  },
  {
    id: 2,
    name: '微博热搜',
    img: weibo,
    url: '/index/hot?type=weibo'
  },
  {
    id: 3,
    name: '头条热搜',
    img: tt,
    url: '/index/hot?type=toutiao'
  },
  {
    id: 4,
    name: '知乎热搜',
    img: zhihu,
    url: '/index/hot?type=zhihu'
  },
  {
    id: 5,
    name: 'b站热搜',
    img: bzhan,
    url: '/index/hot?type=bzhan'
  },
  {
    id: 6,
    name: '百度热搜',
    img: baidu,
    url: '/index/hot?type=baidu'
  },
  {
    id: 7,
    name: '抖音热搜',
    img: dy,
    url: '/index/hot?type=douyin'
  },
]
// 工具类
const toolMent: IGridList[] = [
  {
    id: 1,
    name: '二维码生成',
    img: erweima,
    url: '/index/qrcode'
  },
  {
    id: 3,
    name: '天气预报',
    img: tianqi,
    url: '/index/weather'
  },
  {
    id: 4,
    name: '访客获取',
    img: fangke,
    url: '/index/visitor'
  },
  {
    id: 5,
    name: '手机号查Q',
    img: phone,
    url: '/index'
  },
]

export {
  enterMent,
  realTimeMent,
  toolMent
};
